package cn.lingyangwl.agile.system.model.rqrs.menu;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author shenguangyang
 */
@Getter
@Setter
@ToString
public class MenuDataRuleSaveReq {

    @NotNull(message = "请选择菜单")
    private Long permissionId;

    /**
     * 规则编码
     */
    @NotEmpty(message = "请选择规则编码")
    private String ruleCode;

    /**
     * 规则名称
     */
    private String ruleName;

    /**
     * 字段
     */
    private String ruleColumn;

    /**
     * 条件
     */
    private String ruleConditions;

    /**
     * 规则值
     */
    private String ruleValue;

    /**
     * 状态值 1有效 0无效
     */
    private String status;
}
